package com.mingdong.second.zhuangshi;

public class Test {

	public static void main(String[] args) {
		
		Icar car = new Car();
		
		car = new FlyCar(car);
		
		car = new WaterCar(car);

		car = new AutoCar(car);
		
		car.move();
		
	}

}
